package org.skipper.samples.redission.enums;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author shoujian
 * Date: 2021-08-12
 * Time: 下午7:41
 */
public enum RedisKeyEnum {

    HASH_TEST("voyage-samples-redission:hash_test_hash"),

    KEY_TEST("voyage-samples-redission:key_test_key"),

    STRING_TEST("voyage-samples-redission:key_String_key"),

    LISTS_TEST("voyage-samples-redission:key_Lists_key"),

    PUB_SUB_TEST("voyage-samples-redission:key_pub_sub_key"),

    SET_TEST("voyage-samples-redission:key_set_key"),

    SORT_SET_TEST("voyage-samples-redission:key_sort_set_key"),
    ;

    private String code;

    RedisKeyEnum(String code) {
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }

}
